package com.business;

import com.tomcat.servlet.HttpServlet;

/**
 * Created by Administrator on 2016/4/28.
 */
public class MyServlet implements HttpServlet {

    @Override
    public String doGet() {
        return this.doPost();
    }

    @Override
    public String doPost() {
        return "<h1>It's my first Servlet!!!</h1>";
    }

}